home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / EMTITLE.422 < prev    next >
Text File  |  1993-02-20  |  1KB  |  43 lines

  1. Titles for email, v422
  2. Johnboy #1 @19906
  3. Wed. February 17, 1993 @  1:48 am
  4. JT3.mod  
  5.      Disclaimer:  The usuall, "It ain't my fault!" 
  6.      Ver:  v422 
  7.  
  8.      This mod places a second line below the user & system line in
  9. the void readmail() function.
  10.      This is an update from the one I wrote for v421A, and is much
  11. simpler.  The pl(s4);  call at the end which prints the title to
  12. screen, can be changed to:  prt(4,s4);  nl();    
  13. to add color to your printout.  
  14. Legend:  = (Existing code)
  15.           + (Add this line) 
  16.      First, load up MSGBASE1.C, and drop down to VOID READMAIL(),
  17.  
  18. Next, add the variable s4[81] to the char declarations.
  19.  
  20. then down around line 1095, you will find the following code where
  21. you can ad the two lines.
  22.      
  23. =              sprintf(s1,"%s #%u @%u (%s)",
  24. =                net_networks[nn].name,m.fromuser,m.fromsys,ss1);
  25. =            else
  26. =              sprintf(s1,"%s %u @%u (%s)",get_string(658),
  27. m.fromuser,m.fromsys,ss1);
  28. =          }
  29. =          strcat(s,s1);
  30. =        }
  31. +           sprintf(s4,"%s %s",get_string(326),m.title);
  32. =     }
  33. =      pl(s);
  34. +            pl(s4);
  35. =    }
  36. =    nl();
  37. =    helpl=10;
  38.  
  39.      That's it!  Recompile and you will have titles in the email
  40. portion of the board.
  41.                                                   Johnboy!
  42. 1@19906 WWIVLINK/9906 WWIVNET/9906 ICENET
  43.